﻿<%@ Control Language="C#" EnableViewState="true" %>
<%@ Register Assembly="Antu.WebControls" Namespace="Antu.WebControls" TagPrefix="CBW" %>
<style type="text/css">
    #ctl00_MainerRegion_ZS_BCFAControl___GridList_Div1
    {
        border-collapse: collapse;
        border: 1px solid #74a4c0;
        background-color: #FFFFFF;
        text-align: center;
        color: #a30101;
    }
</style>

<script type="text/javascript">
    window.onload=function aa(){
      var tt='<%=HttpContext.Current.Request["query"] %>';
      var t1=document.getElementById('<%=add.ClientID %>');
      if(tt=='cqzh'){t1.style.display="none";}  
    };
</script>

<table width="100%" border="0" cellpadding="0" cellspacing="0" style="background-image: url(<%= Antu.Core.Components.SiteSettings.DefaultSiteSettings.DefaultThemeFolderMapPath %>images/menuthb.png);
    margin-top: 1px">
    <tr>
        <td valign="middle" height="30">
            <font id="Font1" style="font-size: 14px; font-weight: bold; color: #3E7CC3; float: left;
                color: black; text-indent: 1em;" runat="server">征收散套楼盘管理 </font>
        </td>
    </tr>
</table>
<table cellpadding="0" cellspacing="0" border="0" align="center" class="window_tab_list"
    style="width: 98%; margin: 20px 0 10px 0; line-height: 35px; text-align: center;">
    <tr>
        <td>
            房间号
        </td>
        <td>
            <asp:TextBox runat="server" ID="dkh"></asp:TextBox>
        </td>
        <td>
            房屋地址
        </td>
        <td>
            <asp:TextBox runat="server" ID="fwdz"></asp:TextBox>
        </td>
        <td>
            <asp:Button ID="search" runat="server" Text="查询" />
        </td>
        <td colspan="2">
            <asp:Button ID="add" runat="server" Text="新增" />&nbsp;&nbsp;
            <asp:Button ID="Submit1" runat="server" Text="返回" />
        </td>
    </tr>
</table>
<center style="margin-left: 10px;">
    <CBW:CustomGridView ShowItemNumber="true" AutoGenerateColumns="false" ID="GridList"
        runat="server" AllowPaging="true" AllowSorting="false" SkinID="List" CustomSortExpression=""
        HideTextLength="20" ShowCmpAndCancel="False" ShowHideColModel="None" Width="99%"
        CssClass="window_tab_list" CustomGridViewClass="window_tab_list_fst">
        <Columns>
            <asp:BoundField DataField="xyh" HeaderText="协议号" />
            <asp:BoundField DataField="楼层房间号" HeaderText="房间号" />
            <asp:BoundField DataField="房屋类型" HeaderText="房屋类型" />
            <asp:BoundField DataField="房源" HeaderText="房源" />
            <asp:BoundField DataField="建筑面积" HeaderText="建筑面积(m2)" />
            <asp:BoundField DataField="房屋地址" HeaderText="房屋地址" />
            <asp:TemplateField HeaderText="操作" Visible="false">
                <ItemTemplate>
                    <a href='FangSanInfo.aspx?PID=<%#Eval("pid") %>&ID=<%#Eval("ID") %>&action=edit&query=loupan'>
                        编辑</a>&nbsp;&nbsp;
                    <asp:LinkButton ID="LinkButton1" runat="server" OnClientClick="return confirm('确定删除房屋信息？此操作不可恢复！')"
                        Text="删除"></asp:LinkButton>
                </ItemTemplate>
            </asp:TemplateField>
            <asp:TemplateField HeaderText="操作" Visible="false">
                <ItemTemplate>
                    <a href='FangSanInfo.aspx?PID=<%#Eval("pid") %>&ID=<%#Eval("ID") %>&action=edit&query=cqzh'>
                        签订协议</a>
                </ItemTemplate>
            </asp:TemplateField>
            <asp:TemplateField Visible="false">
                <ItemTemplate>
                    <asp:HiddenField ID="HiddenField1" runat="server" Value='<%# Eval("ID") %>'></asp:HiddenField>
                </ItemTemplate>
            </asp:TemplateField>
        </Columns>
    </CBW:CustomGridView>
</center>
